//
//  CRSession.m
//  TestPrj
//
//  Created by 朱铅峰 on 2020/8/13.
//  Copyright © 2020 Xing. All rights reserved.
//

#import "CRSession.h"

@implementation CRSession

- (instancetype)initWithSessionId:(NSString *)sessionID type:(CRSessionType)sessionType {
    
    self = [super init];
    if (self) {
        _sessionId = sessionID;
        _sessionType = sessionType;
    }
    return self;
}

- (nonnull id)copyWithZone:(nullable NSZone *)zone {
    
    CRSession *session = [[CRSession allocWithZone:zone] initWithSessionId:self.sessionId type:self.sessionType];
    return session;
}

@end
